package Server;

import java.awt.FlowLayout;
import java.awt.image.BufferedImage;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
/**Initializes the picture specified in the logo_path.
 * 
 * @param logo_path
 * @author Thomas
 */

public class logoPanel extends JPanel {
	private BufferedImage image;
	private JLabel logo = new JLabel();
	final String logo_path = "C:\\Users\\Thomas-PC\\Dropbox\\Haggis - Future App Lab\\05 Pictures\\FAL_Logo_Kopie_tiny.png";

	public logoPanel() {
		initLogo(logo_path);
	}
	
	
	public void initLogo(String logo_path){
		setLayout(new FlowLayout());
		logo = new JLabel();
		ImageIcon icon = new ImageIcon(logo_path);
		logo.setIcon(icon);
		add(logo);
	}
}
